import { Component } from '@angular/core';
import { ALEART_TYPE_MAP, AuditType } from './const/alert';
import {
  ManualReviewText,
  ProcessIconType,
  PublicPayReviewText,
} from './const/process';

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.scss'],
})
export class AppComponent {
  ALEART_TYPE_MAP = ALEART_TYPE_MAP;
  title = 'xmly';
  warmTips: string = '';
  auditStatus: AuditType = AuditType.AUDIT_0;
  processData: {
    text: PublicPayReviewText | ManualReviewText;
    active: boolean;
    type: ProcessIconType;
  }[] = [
    {
      text: PublicPayReviewText.PROCESS_1,
      active: true,
      type: ProcessIconType.CIRCLE,
    },
    {
      text: PublicPayReviewText.PROCESS_2,
      active: false,
      type: ProcessIconType.CIRCLE,
    },
    {
      text: PublicPayReviewText.PROCESS_3,
      active: false,
      type: ProcessIconType.CIRCLE,
    },
    {
      text: PublicPayReviewText.PROCESS_4,
      active: false,
      type: ProcessIconType.CIRCLE,
    },
  ];

  searchValueChange(select:string) {
    console.log('app',select);
  }
}
